package com.atguigu.stgy.admin;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ConfigurableApplicationContext;

@SpringBootApplication
@MapperScan(basePackages = "com.atguigu.stgy.*.mapper")
public class WebAdminApplication {
    public  static  void  main(String[] args){

        ConfigurableApplicationContext app = SpringApplication.run(WebAdminApplication.class, args);

        for (int i = 0; i < app.getBeanDefinitionNames().length; i++) {
            System.out.println(app.getBeanDefinitionNames()[i]);
        }

    }
}
